install python glob module in windows

71

install python glob module in windows -

pip install glob2

How to use Python Glob Module -

import glob
# path of the current directory
path = '.'
curfiles = glob.glob(path + '/*.html')
for file in curfiles:
    print(file)
    

Comments

Submit
0 Comments